<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/vue.js"></script>
	</head>
	<body>
		<div id="app">
			{{fruits[0]}}
			{{fruits[1]}}
			{{fruits[2]}}
			<br>
			<h1 v-for='(item,index) in fruits'>
				{{index+1}}:{{item}}
			</h1>
		</div>
		<script>
			
			
			Vue.createApp({
				data(){
					return{
						fruits:["苹果","香蕉","梨",1,false],
						veg:["土豆","生菜","番茄"]
					}
				}
			}).mount('#app')
		</script>
	</body>
</html>